--- a/fscklog/extract.c
+++ b/fscklog/extract.c
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include "devices.h"
 #include "diskmap.h"

